@import './markdown.css';

html,
body,
#app {
  height: 100%;
  margin: 0;
  padding: 0;
}

html.dark {
  background: #121212;
  color-scheme: dark;
}

/* 保持滚动条空间稳定，避免不同页面出现/消失滚动条时产生布局右移 */
html {
  scrollbar-gutter: stable both-edges;
}

/* 兼容不支持 scrollbar-gutter 的浏览器，始终保留垂直滚动条空间 */
@supports not (scrollbar-gutter: stable) {
  html {
    overflow-y: scroll;
  }
}

#nprogress {
  pointer-events: none;
}

#nprogress .bar {
  background: rgb(13, 148, 136);
  opacity: 0.75;
  position: fixed;
  z-index: 1031;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
}
